import request from '@/utils/request'

export function getUserInfo () {
  return request({
    url: '/user/user',
    method: 'get'
  })
}

export function logout () {
  return request({
    url: '/login/logout',
    method: 'get'
  })
}

export function getTips () {
  return request({
    url: '/user/tips',
    method: 'get'
  })
}
